﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ecopsy.DataTier;
using AgencyEntityLib.Context;

namespace AgencyEntityLib.BaseEntity
{
    public class Period:EntitySingle 
    {
        private DateTime _DtStart = DateTime.Now;
        public DateTime DtStart { get { return _DtStart; } set { _DtStart = value;} }

        private DateTime _DtFinish = DateTime.Now;
        public DateTime DtFinish { get { return _DtFinish; } set { _DtFinish = value; } }
    }

    public class PeriodList : EntityList
    {
        protected override string TagName
        {
            get
            {
                return "PeriodList";
            }
        }

        public override string ListCaption
        {
            get
            {
                return "Period";
            }
        }
    }
}
